/**
 * Project Name:dsrs-systemservice-service
 * File Name:GroupService.java
 * Package Name:com.bwda.dsrs.systemservice.service;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.service;


import com.bwda.dsrs.systemservice.domain.condition.group.GroupCondition;
import com.bwda.dsrs.systemservice.domain.po.group.GroupPo;

import java.util.List;

/**
 * 自定义组
 *
 * @author liangjianyong
 * @date 2019/4/13
 */
public interface GroupService extends BaseService<GroupPo, GroupCondition> {

    /**
     * 批量删除
     * @param idList
     */
    void batchDelete(List<Integer> idList);

    /**
     * 根据ID查询明细
     * @param id
     * @return
     */
    GroupPo queryWithDetail(Integer id);

    /**
     * 根据userCode查询组织列表
     * @param userCode
     * @return
     */
    List<GroupPo> queryGroupListByUserCode(String userCode);

}
